package lab02.test26;

/**
 * Created by 邱雅婷 on 2017/11/2.
 */
public class ExceptionTest {
    public static void main(String[] args) {
        try{
            int a=10/0;

        }catch(ArithmeticException e){

            System.out.println("除数是0！");
        }finally{

            System.out.println("最终会执行的代码!");
        }
    }
}

